4D Chart v13CT GET BOUNDARY |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT GET BOUNDARY
|
CT GET BOUNDARY ( area ; scope ; left ; top ; right ; bottom ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Chart area | |||||
scope | Longint |
![]() |
Scope of the command -1 = All 0 = Selected object >0 = Object ID | |||||
left | Real |
![]() |
Receives horizontal position of start (in points) | |||||
top | Real |
![]() |
Receives vertical position of start (in points) | |||||
right | Real |
![]() |
Receives horizontal position of end (in points) | |||||
bottom | Real |
![]() |
Receives vertical position of end (in points) | |||||
The CT GET BOUNDARY command returns in the left, top, right and bottom variables the boundary of the object(s) in area described by scope.
The boundary is the coordinates of the smallest rectangular region that contains the object(s).
The following line returns the selected object’s boundary in the $left, $top, $right, and $bottom variables.
CT GET BOUNDARY(Area;0;$left;$top;$right;$bottom)
Product: 4D Chart
Theme: CT Objects
Number:
14567
Created: 4D Chart 1